<?php

namespace App\Models;

class Ip extends Base
{
    /**
     * 账号（一对多关系）
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function accounts() {
        return $this->hasMany(Account::class);
    }

    public function users() {
        return $this->hasMany(UserIp::class);
    }
}
